<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
    <title>基础数据平台</title>
    <link rel="stylesheet" href="../../static/js/plug-in/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="../../static/js/plug-in/font-awesome/css/font-awesome.min.css" />
    <link rel="stylesheet" href="../../static/js/plug-in/dist/css/AdminLTE.css"/>
    <link rel="stylesheet" href="../../static/js/plug-in/dist/css/skins/_all-skins.min.css"/>
    <link rel="stylesheet" href="../../static/js/layui/css/layui.css">
    <!--[if lt IE 9]>
    <script src="../../static/js/public/html5shiv.min.js" ></script>
    <script src="../../static/js/public/respond.min.js" ></script>
    <![endif]-->
    <link rel="stylesheet" href="../../static/css/public/public.css" />
    <link rel="stylesheet" href="../../static/js/plug-in/my-form-prompt/css/form-prompt.css">
</head>

<body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <header class="main-header" id="_header"></header>
        <aside class="main-sidebar" id="_left"></aside>









        <div class="content-wrapper">
            <section class="content-header">
                <h1>用户管理</h1>
                <ol class="breadcrumb">
                    <li>
                        <a href="index.html"><i class="fa fa-dashboard"></i>首页</a>
                    </li>
                    <li>
                        <a href="user.html">用户管理</a>
                    </li>
                    <li>
                        <a href="user.html">用户信息</a>
                    </li>
                    <li>
                        <a href="user-info-add.html">用户管理</a>
                    </li>
                </ol>
            </section>
            <section class="content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="box">
                            <div class="box box-info">
                                <div class="box-header with-border">
                                    <h3 class="box-title">填写用户信息</h3>
                                </div>
                                <form class="form-horizontal" id="organize">
                                    <div class="box-body col-xs-12">
                                        <div class="col-xs-6">
                                       		<input type="hidden" id="userid" name="id" />
                                           
                                            <div class="form-group">
                                                <label class="col-sm-3 control-label">可用状态</label>
                                                <div class="col-sm-9">
                                                    <label class="my-form-radio">
                                                    	可用<input type="radio" name="status" id="input-state-1" value="1"/>
                                                    </label>
                                                    <label class="my-form-radio">
                                                    	不可用<input type="radio" name="status" id="input-state-2" value="0"/>
                                                    </label>
                                                </div>
                                            </div>
                                           
                                          <div class="form-group">
						                        <label class="col-sm-3 control-label">角色</label>   
					                           <div id="roles">
												</div>
						                    </div>
                                           
                                            <div class="form-group">
                                                <label for="input-email" class="col-sm-3 control-label">邮箱</label>
                                                <div class="col-sm-9" form-prompt="false" form-prompt-text="邮箱格式错误">
                                                    <input type="email" class="form-control" id="email" name="email" value=""  />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-xs-6">
                                            <div class="form-group">
                                                <label for="input-name" class="col-sm-3 control-label"><span class="my-red">*</span>姓名</label>
                                                <div class="col-sm-9" form-prompt="false" form-prompt-text="姓名不能为空">
                                                    <input type="text" class="form-control" id="empName" name="empName" placeholder="姓名不能为空" value=""  />
                                                </div>
                                            </div>
                                            
                                          
                                            <div class="form-group">
                                                <label for="input-petname" class="col-sm-3 control-label">工号</label>
                                                <div class="col-sm-9" form-prompt="false" form-prompt-text="昵称不能有空格">
                                                    <input type="text" class="form-control" id="empNo" name="empNo" value="" />
                                                </div>
                                            </div>
                                           
                                            
                                         
                                            <div class="form-group">
                                                <label for="input-tel" class="col-sm-3 control-label">手机</label>
                                                <div class="col-sm-9" form-prompt="false" form-prompt-text="手机格式错误">
                                                    <input type="tel" class="form-control" id="phone" name="phone" value="" />
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="box-footer">
                                        <button type="button" class="btn btn-default j-btn-cancel">取消</button>
                                        <button type="button" class="btn btn-info pull-right j-submit" onclick="saveOrUpdate();">保存</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
        </div>








        <footer class="main-footer" id="_footer"></footer>
        <div class="control-sidebar-bg"></div>
    </div>


</body>
<script type="text/javascript">
	
</script>



<!--[if IE 9]>
<script src="../../static/js/plug-in/jquery/jquery-1.11.0.js"></script>
<![endif]-->
<script src="../../static/js/jquery.min.js"></script>
<script src="../../static/js/externalr.js"></script>
<script src="../../static/js/plug-in/bootstrap/js/bootstrap.min.js"></script>
<script src="../../static/js/plug-in/dist/js/app.min.js"></script>
<script src="../../static/js/plug-in/dist/js/demo.js"></script>
<script src="../../static/js/public/public.js"></script>

<script src="../../static/js/plug-in/my-form-prompt/js/form-prompt.js"></script>
<script src="../../static/js/plug-in/my-opt/js/opt.js"></script>
<script src="../../static/js/user/user-info-add.js"></script>
<script  src="../../static/js/layui/layui.js"></script>
<script src="../../static/js/utils.js"></script>
<script src="../../static/js/jquery.tmpl.min.js"></script>
<script id="rolessTemplate" type="text/x-jquery-tmpl">
{{each(i,item) roles}}
    <label class="checkbox-inline">
		<input type="checkbox" name="roleId" id="Checkbox{{= item.id}}"  value="{{= item.id}}"> {{= item.roleName}} 
	</label>
{{/each}}
</script>
</html>